package com.codeplay.dto;

import lombok.Data;
import lombok.Builder;
import java.util.Set;

@Data
@Builder
public class LoginResponse {
    private String token;
    private String refreshToken;
    private String tokenType;
    private Long expiresIn;
    private UserInfo userInfo;
    
    @Data
    @Builder
    public static class UserInfo {
        private Long id;
        private String username;
        private String email;
        private String avatar;
        private Set<String> roles;
        private Set<String> permissions;
    }
} 